/**
 * FileName: UserService
 * Author:   powersi
 * Date:     2021/3/16 17:07
 * Description:
 */
package com.zm.demo.sc.circlereference.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description: 
 * Author:      powersi
 * Date:        2021/3/16 17:07
 */

@Service
public class UserService {

    @Autowired
    private OrderService orderService;

    private int id = 0;
    private String type = "UserService";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "UserService{" +
//                "orderService=" + orderService +
                ", id=" + id +
                ", type='" + type + '\'' +
                '}';
    }
}
